// components/article-box/index.js
Component({

  /**
   * 组件的属性列表
   */
  properties: {
    avatar: {
      type: String,
      value: "https://pic2.zhimg.com/80/v2-4247a2a3fa8559a4cf84ecf4f0dd1269_1440w.webp"
    },
    name: {
      type: String,
      value: 'Jacob Jones'
    },
    label: {
      type: String,
      value: '1 hour'
    },
    content: {
      type: String,
      value: 'How to deal with pests and diseases on certain plants and how to carry out routine maintenance on tractors or other agricultural equipment?'
    },
    img: {
      type: Array,
      value: [{
        url: 'https://bing.com/th?id=OHR.OliveOrchard_ZH-CN8198989130_1920x1080.jpg'
      }, {
        url: 'https://bing.com/th?id=OHR.MallarDucks_ZH-CN7422818269_1920x1080.jpg'
      }, {
        url: 'https://bing.com/th?id=OHR.NorwayBirch_ZH-CN5482311438_1920x1080.jpg'
      }, ]
    },
    like_list: {
      type: Array,
      value: ["https://pic2.zhimg.com/80/v2-3950c56f4dc0a833bece39ec257f8401_1440w.webp", "https://pic2.zhimg.com/80/v2-b3e47b43de1b931302189f0a8c6c1add_1440w.webp", "https://pic4.zhimg.com/80/v2-2767be12e3a4162e2e8615832ed6cb17_1440w.webp"]
    },
    like_num: {
      type: String,
      value: 480
    },
    comment_num: {
      type: String,
      value: 128
    },
    share_num: {
      type: String,
      value: 64
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})